package com.blrs.domain;

import com.blrs.common.annotation.Excel;
import com.blrs.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 平台功能对象 platform_function
 * 
 * @author ruoyi
 * @date 2025-05-12
 */
public class PlatformFunction extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 类型 */
    @Excel(name = "类型")
    private String type;

    /** 管理名称 */
    @Excel(name = "管理名称")
    private String managementName;

    /** 详情 */
    @Excel(name = "详情")
    private String details;

    /** 组织机构id */
    private Long orgId;

    /** 创建人id */
    private Long createdId;

    /** 创建人名称 */
    @Excel(name = "创建人名称")
    private String createdName;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setManagementName(String managementName) 
    {
        this.managementName = managementName;
    }

    public String getManagementName() 
    {
        return managementName;
    }

    public String getDetails() {
        return details;
    }

    public void setDetails(String details) {
        this.details = details;
    }

    public void setOrgId(Long orgId)
    {
        this.orgId = orgId;
    }

    public Long getOrgId() 
    {
        return orgId;
    }
    public void setCreatedId(Long createdId) 
    {
        this.createdId = createdId;
    }

    public Long getCreatedId() 
    {
        return createdId;
    }
    public void setCreatedName(String createdName) 
    {
        this.createdName = createdName;
    }

    public String getCreatedName() 
    {
        return createdName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("type", getType())
            .append("managementName", getManagementName())
            .append("details",getDetails())
            .append("createTime", getCreateTime())
            .append("orgId", getOrgId())
            .append("createdId", getCreatedId())
            .append("createdName", getCreatedName())
            .toString();
    }
}
